<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 任宝顺
  Date: 2022/2/25
  Time: 18:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
        <table border="1px" align="center">
            <thead>
                <tr>
                    <th>编号</th>
                    <th>名称</th>
                </tr>
            </thead>
            <tbody>
            <c:forEach items="${brandList}" var="brand">
                <tr>
                    <td>${brand.id}</td>
                    <td>${brand.name}</td>
                </tr>
            </c:forEach>
            </tbody>
        </table>
</body>
</html>
